package com.itheima.throwable;

public class Demo04 {

    public static void main(String[] args) {

            String s = null;
            if (s == null) {
                System.out.println("司机 听一下");
                throw new NullPointerException();
            }
            System.out.println(s.length());


    }
}
